// 导入样式
import './index.css'

const style = {
  color: 'red',
  fontSize: '48px'
}
function App () {
  return (
    <div>
      {/* 行内样式 */}
      <span style={style}>this is span</span>
      {/* 通过class类名来控制 */}
      <span className='foo'>this is className</span>
    </div>
  )
}

export default App
